package cn.iocoder.yudao.module.system.controller.admin.task.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 用户任务记录 Response VO
 *
 * @author 芋道源码
 */
@Schema(description = "管理后台 - 用户任务记录 Response VO")
@Data
public class UserTaskRecordRespVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long userId;

    @Schema(description = "任务类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer taskType;

    @Schema(description = "任务名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "分享任务")
    private String taskName;

    @Schema(description = "完成时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime completeTime;

    @Schema(description = "奖励抽奖次数", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer rewardLotteryCount;

    @Schema(description = "是否已领取奖励", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
    private Boolean rewarded;

    @Schema(description = "领取时间")
    private LocalDateTime rewardTime;

    @Schema(description = "备注", example = "完成分享任务获得1次抽奖机会")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;
}
